import type { FormRules } from 'element-plus'
/** 登录校验 */
const loginRules = reactive(<FormRules>{
  loginName: [{ required: true, trigger: ['blur', 'input'], message: '用户名不能为空' }],
  password: [{ required: true, trigger: ['blur', 'input'], message: '密码不能为空' }],
  code: [{ required: true, trigger: ['change', 'input'], message: '验证码不能为空' }],
})

export { loginRules }
